#ifndef _thaisenChargFlow_h
#define _thaisenChargFlow_h


#include "thaisen7102Public.h"

typedef enum thaisenChargStopEnum
{
	thaisenChargNoCmd = 0,
	thaisenChargStartCmd,
	thaisenChargStopCmd,
}thaisenChargStopEn;



typedef enum thaisenChargStatusEnum
{
	thaisenChargIdle,
	thaisenChargAuxPowerOn,
	thaisenChargCHM,
	thaisenChargInsult,
	thaisenChargInsultFinish,
	thaisenChargCRM,
	thaisenChargCTSCML,
	thaisenChargCRO,
	thaisenChargCROAA,
	thaisenChargCCS,
	thaisenChargCST,
	thaisenChargCSD,
	thaisenChargStop,
	thaisenChargWaitGun,
	thaisenChargFault,
	thaisenChargingFault,
	thaisenChargCommonFault,
	thaisenChargCommonEndFault,
	thaisenChargAll,
}thaisenChargStatusEn;

void thaisenChargTask(uint8_t gunNum);
void thaisen_start_charg(uint8_t gunNum);

uint8_t thaisenChargGetStatus(uint8_t gunNum);
thaisenChargStopEn thaisen_get_start_stop_status(uint8_t gunNum);

#endif

